package com.atguigu.gmall.product.mapper;

import com.atguigu.gmall.model.product.BaseAttrInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: 李旭
 * @Time: 11:06
 * @Description:
 *
 *   Mybatis-plus 插件  查询  添加 修改
 */
public interface BaseAttrInfoMapper extends BaseMapper<BaseAttrInfo> {

    //#根据一二三级分类的ID  层级查询 平台属性及属性值表
    List<BaseAttrInfo> attrInfoList(
            @Param("category1Id") Long category1Id,
            @Param("category2Id") Long category2Id,
            @Param("category3Id") Long category3Id);
}
